<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<title>Bootstrap 实例</title>

	<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css" integrity="sha384-/Y6pD6FV/Vv2HJnA6t+vslU6fwYXjCFtcEpHbNJ0lyAFsXTsjBbfaDjzALeQsN6M"
	 crossorigin="anonymous">

</head>

<body>
	<section class="container">
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">进度条</h5>
				<p>进度条可以显示用户任务的完成过程。</p>
			</div>
			<div class="card-body">
				<p>进度条高度默认为 16px。我们可以使用 CSS 的 height 属性来修改他：</p>
				<div class="progress">
					<div class="progress-bar" style="width:40%;height:10px"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar" style="width:50%;height:20px"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar" style="width:60%;height:30px"></div>
				</div>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">进度条标签</h5>
			</div>
			<div class="card-body">
				<p>可以在进度条内添加文本，如进度的百分比</p>
				<div class="progress">
					<div class="progress-bar" style="width:70%">70%</div>
				</div>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">不同颜色的进度条</h5>
			</div>
			<div class="card-body">
				<div class="progress">
					<div class="progress-bar" style="width:30%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-success" style="width:40%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-info" style="width:50%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-warning" style="width:60%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-danger" style="width:70%"></div>
				</div>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">条纹的进度条</h5>
			</div>
			<div class="card-body">
				<div class="progress">
					<div class="progress-bar progress-bar-striped" style="width:30%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-success progress-bar-striped" style="width:40%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-info progress-bar-striped" style="width:50%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-warning progress-bar-striped" style="width:60%"></div>
				</div>
				<br>
				<div class="progress">
					<div class="progress-bar bg-danger progress-bar-striped" style="width:70%"></div>
				</div>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">动画进度条</h5>
			</div>
			<div class="card-body">
				<div class="progress">
					<div class="progress-bar progress-bar-striped progress-bar-animated" style="width:40%"></div>
				</div>
			</div>
		</div>
		<div class="card my-4">
			<div class="card-header">
				<h5 class="text-primary">混合色彩进度条</h5>
			</div>
			<div class="card-body">
				<div class="progress">
					<div class="progress-bar bg-success" style="width:40%">
						Free Space
					</div>
					<div class="progress-bar bg-warning" style="width:10%">
						Warning
					</div>
					<div class="progress-bar bg-danger" style="width:20%">
						Danger
					</div>
				</div>
			</div>
		</div>
	</section>
</body>

</html>